package cn.neusoft.service;

import cn.neusoft.domain.Statistics;
import cn.neusoft.query.BaseQuery;
import com.fasterxml.jackson.databind.ser.Serializers;

import java.util.List;
import java.util.Map;

public interface StatisticsService {

    List<Statistics> getTopFiveCommodityInTimeRange(BaseQuery query);

    List<Statistics> getCommodityOrderReturnQuantityInTimeRange(BaseQuery query);

    List<Statistics> getTotalOrderByDay();

    List<Statistics> getTotalOrderByMonth();

    List<Statistics> getOpByDay();

    List<Statistics> getOpByMonth();

    List<Statistics> getOpByAll();

    List<Statistics> getStorage();

    List<Map<String, Object>> getOrderByProvince();

    String[] getNormalOrderByMonth();

    String[] getReturnOrderByMonth();

    String[] getExchangeOrderByMonth();
}
